package com.xiaoq.matrix.minipro.vo;

import java.util.ArrayList;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonAutoDetect(fieldVisibility = Visibility.NONE, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class MiniProAuthorizerInfo {
	@JsonProperty("authorizer_appid")
	private String authorizerAppId;
	
	@JsonProperty("authorizer_access_token")
	private String authorizerAccessToken;
	
	@JsonProperty("expires_in")
	private long expiresIn;
	
	@JsonProperty("authorizer_refresh_token")
	private String authorizerRefreshToken;
	
	@JsonProperty("func_info")
	private List<MiniProFunctionInfo> functionInfoList = new ArrayList<MiniProFunctionInfo>();
	
	@JsonProperty("errcode")
	private Integer errcode;
	
	@JsonProperty("errmsg")
	private String errmsg;

	public String getAuthorizerAppId() {
		return authorizerAppId;
	}

	public void setAuthorizerAppId(String authorizerAppId) {
		this.authorizerAppId = authorizerAppId;
	}

	public String getAuthorizerAccessToken() {
		return authorizerAccessToken;
	}

	public void setAuthorizerAccessToken(String authorizerAccessToken) {
		this.authorizerAccessToken = authorizerAccessToken;
	}

	public long getExpiresIn() {
		return expiresIn;
	}

	public void setExpiresIn(long expiresIn) {
		this.expiresIn = expiresIn;
	}

	public String getAuthorizerRefreshToken() {
		return authorizerRefreshToken;
	}

	public void setAuthorizerRefreshToken(String authorizerRefreshToken) {
		this.authorizerRefreshToken = authorizerRefreshToken;
	}

	public List<MiniProFunctionInfo> getFunctionInfoList() {
		return functionInfoList;
	}

	public void setFunctionInfoList(List<MiniProFunctionInfo> functionInfoList) {
		this.functionInfoList = functionInfoList;
	}

	public Integer getErrcode() {
		return errcode;
	}

	public void setErrcode(Integer errcode) {
		this.errcode = errcode;
	}

	public String getErrmsg() {
		return errmsg;
	}

	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	
	
}
